package types

const (
	// HOT_SEARCH_KEY Redis中存储热搜的键
	HOT_SEARCH_KEY            = "HOT_SEARCH"
	WEIBO_HOT_SEARCH_FIELD    = "WEIBO_HOT_SEARCH_FIELD"
	TOU_TIAO_HOT_SEARCH_FIELD = "TOU_TIAO_HOT_SEARCH_FIELD"
	// HOT_SEARCH_UPDATE_TIME_FIELD 微博热搜爬虫更新时间
	HOT_SEARCH_UPDATE_TIME_FIELD = "WEIBO_HOT_SEARCH_UPDATE_TIME_FIELD"
	// WEI_BO 微博热搜接口
	WEI_BO = "https://weibo.com/ajax/side/hotSearch"
	// TOU_TIAO 头条热搜接口
	TOU_TIAO = "https://www.toutiao.com/hot-event/hot-board/?origin=toutiao_pc"
	// WEI_BO_VISIT_URL 微博热搜项访问地址
	WEI_BO_VISIT_URL = "https://s.weibo.com/weibo?q=%s"
	// WEI_BO_VISIT_MOBILE_URL 微博热搜项访问地址-手机访问地址
	WEI_BO_VISIT_MOBILE_URL = "https://m.weibo.cn/search?containerid=231522type%%3D1%%26q%%3D%s&_T_WM=16922097837&v_p=42"
	// TOU_TIAO_VISIT_URL 头条热搜项访问地址
	TOU_TIAO_VISIT_URL = "https://www.toutiao.com/trending/%s/"
)
